package com.zc.trendsDispatch.domain;


import org.apache.commons.lang3.builder.ToStringBuilder;

public class ChargeRuleTrigger {
    private String ruleId;//规则id
    private Long triggerId;//触发器id
    private int dataItemType;//corn/数据项
    private int comparePatternFrontType;//前比较条件
    private double compareFrontValue;//前比较值
    private int conditionType;//连接条件
    private int comparePatternAfterType;//后比较条件
    private double compareAfterValue;//后比较值
    private int settingType;//设定类型
    private int settingValue;//设定值


    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public Long getTriggerId() {
        return triggerId;
    }

    public void setTriggerId(Long triggerId) {
        this.triggerId = triggerId;
    }

    public int getDataItemType() {
        return dataItemType;
    }

    public void setDataItemType(int dataItemType) {
        this.dataItemType = dataItemType;
    }

    public int getComparePatternFrontType() {
        return comparePatternFrontType;
    }

    public void setComparePatternFrontType(int comparePatternFrontType) {
        this.comparePatternFrontType = comparePatternFrontType;
    }

    public double getCompareFrontValue() {
        return compareFrontValue;
    }

    public void setCompareFrontValue(double compareFrontValue) {
        this.compareFrontValue = compareFrontValue;
    }

    public int getConditionType() {
        return conditionType;
    }

    public void setConditionType(int conditionType) {
        this.conditionType = conditionType;
    }

    public int getComparePatternAfterType() {
        return comparePatternAfterType;
    }

    public void setComparePatternAfterType(int comparePatternAfterType) {
        this.comparePatternAfterType = comparePatternAfterType;
    }

    public double getCompareAfterValue() {
        return compareAfterValue;
    }

    public void setCompareAfterValue(double compareAfterValue) {
        this.compareAfterValue = compareAfterValue;
    }

    public int getSettingType() {
        return settingType;
    }

    public void setSettingType(int settingType) {
        this.settingType = settingType;
    }

    public int getSettingValue() {
        return settingValue;
    }

    public void setSettingValue(int settingValue) {
        this.settingValue = settingValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("ruleId", ruleId)
                .append("triggerId", triggerId)
                .append("dataItemType", dataItemType)
                .append("comparePatternFrontType", comparePatternFrontType)
                .append("compareFrontValue", compareFrontValue)
                .append("conditionType", conditionType)
                .append("comparePatternAfterType", comparePatternAfterType)
                .append("compareAfterValue", compareAfterValue)
                .append("settingType", settingType)
                .append("settingValue", settingValue)
                .toString();
    }
}
